layui.use(['layer', 'form', 'admin', 'laydate', 'ax', 'formSelects'], function () {
    var $ = layui.jquery;
    var $ax = layui.ax;
    var form = layui.form;
    var admin = layui.admin;
    var layer = layui.layer;
   
    $(document).on('click', '#imgck', function(data) {
    	var imgHtml = "<img src='" + $(this).attr("src") + "' />";  
    	layer.open({ 
    		type: 1, 
    		shade: false,
    		title: false,
    		area: [790+'px', 500+'px'],
    		content: imgHtml,
    		cancel: function () {
    			
    		}
	    });
    });

});



